package com.yf.service.impl;

import com.yf.bean.*;
import com.yf.mapper.ljxMapper;
import com.yf.service.ljxService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author : hzyao
 * @date : 16:28 2020/10/7
 */
@Service
public class ljxServiceImpl implements ljxService {
    @Autowired
    private ljxMapper ljxMapper;
    @Override
    public ljx8 getByLevel8(String ch8) {

        return ljxMapper.getByLevel8(ch8);
    }

    @Override
    public ljx7 getByLevel7(String lh7) {

           ljx7 l =   ljxMapper.getByLevel7(lh7);
        System.out.println(l);
        return l;
    }

    @Override
    public ljx6 getByLevel6(String lh6) {
       ljx6 l6 = ljxMapper.getByLevel6(lh6);
        System.out.println(l6);
        return l6;
    }

    @Override
    public ljx5 getByLevel5(String lh5) {
        ljx5 l5 = ljxMapper.getByLevel5(lh5);
        System.out.println(l5);
        return l5;
    }

    @Override
    public ljx4 getByLevel4(String lh4) {
        ljx4 l4 = ljxMapper.getByLevel4(lh4);
        System.out.println(l4);
        return l4;
    }

    @Override
    public ljx3 getByLevel3(String lh3) {
        ljx3 l3 = ljxMapper.getByLevel3(lh3);
        System.out.println(l3);
        return l3;
    }
}
